﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace snat.proxy.items.exceptions {
    public class NoResultFromSQLException : Exception {

        private string sqlQuery;
        public string SQLQuery {
            get {
                return sqlQuery;
            }
        }

        public override string Message {
            get {
                return "No result found after querying the database with : "+SQLQuery;
            }
        }

        public NoResultFromSQLException(string _sqlQuery) {
            this.sqlQuery = _sqlQuery;
        }

    }
}
